﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Imaging;

namespace VoicePhone.Controls
{
    public class MenuButton : BaseButton
    {
        public string MenuName
        {
            get { return (string)GetValue(MenuNameProperty); }
            set { SetValue(MenuNameProperty, value); }
        }

        public static readonly DependencyProperty MenuNameProperty =
            DependencyProperty.Register("MenuName", typeof(string), typeof(MenuButton));

        public ImageSource MenuIconSource
        {
            get { return (ImageSource)GetValue(MenuIconSourceProperty); }
            set { SetValue(MenuIconSourceProperty, value); }
        }

        public static readonly DependencyProperty MenuIconSourceProperty =
            DependencyProperty.Register("MenuIconSource", typeof(ImageSource), typeof(MenuButton));


    }
}
